#mesh
rm -rf test*
rm -rf results

# rate = exponential(0.00000000000625)
./mesh_switch -u Cmdenv
mkdir test_128_160Gbps_ltr_0
cp -r /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/test_128_160Gbps_ltr_0

sed -i 's/ltr_rate=0/ltr_rate=0.1/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_128_160Gbps_ltr_0.1
cp -r /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/test_128_160Gbps_ltr_0.1

sed -i 's/ltr_rate=0.1/ltr_rate=0.2/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_128_160Gbps_ltr_0.2
cp -r /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/test_128_160Gbps_ltr_0.2

sed -i 's/ltr_rate=0.2/ltr_rate=0.3/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_128_160Gbps_ltr_0.3
cp -r /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/test_128_160Gbps_ltr_0.3

sed -i 's/ltr_rate=0.3/ltr_rate=0.4/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_128_160Gbps_ltr_0.4
cp -r /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/test_128_160Gbps_ltr_0.4

sed -i 's/ltr_rate=0.4/ltr_rate=0.5/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_128_160Gbps_ltr_0.5
cp -r /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/test_128_160Gbps_ltr_0.5

sed -i 's/ltr_rate=0.5/ltr_rate=0.6/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_128_160Gbps_ltr_0.6
cp -r /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/test_128_160Gbps_ltr_0.6

sed -i 's/ltr_rate=0.6/ltr_rate=0.7/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_128_160Gbps_ltr_0.7
cp -r /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/test_128_160Gbps_ltr_0.7

sed -i 's/ltr_rate=0.7/ltr_rate=0.8/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_128_160Gbps_ltr_0.8
cp -r /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/test_128_160Gbps_ltr_0.8

sed -i 's/ltr_rate=0.8/ltr_rate=0.9/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_128_160Gbps_ltr_0.9
cp -r /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/test_128_160Gbps_ltr_0.9

sed -i 's/ltr_rate=0.9/ltr_rate=1/g' omnetpp.ini
./mesh_switch -u Cmdenv
mkdir test_128_160Gbps_ltr_1
cp -r /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/results/. /home/peng/omnetpp-6.0.1-linux-x86_64/omnetpp-6.0.1/samples/mesh_switch/src/test_128_160Gbps_ltr_1
